METAWRAPPERS: Implementing Object Models of Nested Data Formats
نویسنده
چکیده
Sometimes, we may want to modify, or just read (in a computer program) specific parts of a message received (as a stream of bytes) from a communications port or of data read (also as a stream of bytes) from a flat file. What would be convenient for this is a kind of API to locate any component of a message in order to modify or read it. Such an API could also be used to construct an entire message. If the format of the message is a nested one (such as those defined using the ASN.1 [ISO 1987] or BNF notations or those defined by the HL7 Standard [HL7 1997]), one possible style of such an API is to treat the components of a message (including the message itself) as objects and the constituent components of these components as objects nested within objects. In other words, direct programming with message component types (each message component type appears as a type in the computer program). This pattern deals with how to implement these types when their number is great or when new types are introduced and existing ones modified with great frequency.
منابع مشابه
Data-Parallel Language for Correct and Efficient Sparse Matrix Codes
Data-Parallel Language for Correct and Efficient Sparse Matrix Codes by Gilad Arnold Doctor of Philosophy in Computer Science University of California, Berkeley Professor Rastislav Bodík, Chair Sparse matrix formats encode very large numerical matrices with relatively few nonzeros. They are typically implemented using imperative languages, with emphasis on low-level optimization. Such implement...
متن کاملAn Object-Oriented Approach to Nested Data Parallelism
This paper describes an implementation technique for integrating nested data parallelism into an object-oriented language. Data-parallel programming employs sets of data called “collections” and expresses parallelism as operations performed over the elements of a collection. When the elements of a collection are also collections, then there is the possibility for “nested data parallelism.” Few ...
متن کاملMapping-Driven Data Access
Virtually all modern enterprise applications manipulate data represented in multiple formats, such as objects in a programming language, rows in relational databases, or XML structures, which are exposed through distinct programming models. As a result, application developers face a constant challenge of translating data and data access operations across different data representations. Even in ...
متن کاملImplementing Incremental View Maintenance in Nested Data Models
Previous research on materialized views has primarily been in the context of flat relational databases-materialized views defined in terms of one or more flat relations. This paper discusses a broader class of view definitions-materialized views defined over a nested data model such as the nested relational model or an object-oriented data model. An attribute of a tuple deriving the view can be...
متن کاملModel Selection for Mixture Models Using Perfect Sample
We have considered a perfect sample method for model selection of finite mixture models with either known (fixed) or unknown number of components which can be applied in the most general setting with assumptions on the relation between the rival models and the true distribution. It is, both, one or neither to be well-specified or mis-specified, they may be nested or non-nested. We consider mixt...
متن کامل